<template>
  <div id="outer">
    <Tap title="美食">
      <img width="280px" src="https://img0.baidu.com/it/u=2365144078,1664837876&fm=253&fmt=auto&app=138&f=JPEG?w=540&h=360" alt="">
    </Tap>
    <Tap title="游戏">
     <ul>
      <li v-for='item in gameInfo' :key="item.id">{{item.name}}</li>
     </ul>
    </Tap>
    <Tap title="电视">
      <a href="###">wqeqwda</a>
    </Tap>
    
  </div>
</template>

<script>
import Tap from "./cpmponents/Tap";
import {v4 as uuidv4} from 'uuid'
export default {
  name: "App",
  components: {
    Tap,
  },
  data() {
    return {
     gameInfo:[
      {id:uuidv4(),name:'王者荣耀'},
      {id:uuidv4(),name:'闪耀暖暖'},
      {id:uuidv4(),name:'阴阳师'},
     ]
    };
  },
};
</script>

<style>
#outer {
  /* width: 300px; */
  height: 400px;
  display: flex;
  justify-content: space-evenly;
}

</style>